/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.dao;

import com.legendshop.dao.Dao;
import com.legendshop.oa.model.User;


/**
 * 用户管理的Dao
 */
public interface UserManagerDao extends  Dao<User, Long> {

	public abstract Long saveUser(User user);

	public abstract User getUser(Long userId);

	public abstract void updateUser(User user);

	public abstract void deleteUser(User user);
	
	public abstract void deleteUseById(Long userId);
	
	public abstract boolean isUserExists(String userName);

	public abstract User getUserByName(String userName);
}
